home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp2.jacobs.com
/
2015.02.ftp2.jacobs.com.tar
/
ftp2.jacobs.com
/
pub
/
iPass
/
Open Mobile-V2.3.0-11624-V9.000.msi
/
Data1.cab
/
_87583C06BF0ECBF80673FF654734648A
< prev
next >
Wrap
Text File
|
2012-10-24
|
1KB
|
31 lines
@REM this is for un-registering of Oesis COM (before software update)
@echo off
@setlocal
set OMAppDataPath=""
ver | find "XP" > nul
if %ERRORLEVEL% == 0 goto ver_xp
set OMAppDataPath=%PROGRAMDATA%
goto continue
:ver_xp
set OMAppDataPath=%ALLUSERSPROFILE%\Application Data
:continue
@REM Remove registry value indicating that plug-ins have been installed
@echo reg delete HKEY_LOCAL_MACHINE\SOFTWARE\OM\MobilityClient /v PluginsVersion /f >> "%OMAppDataPath%\NGC\LOGS\SWUpdateAssistant.log" 2>&1
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\OM\MobilityClient /v PluginsVersion /f >> "%OMAppDataPath%\NGC\LOGS\SWUpdateAssistant.log" 2>&1
@REM Go to the opswat directory
pushd ..\..\..\opswat
IF EXIST "OesisCom.dll" echo Before un-registering: OesisCom.dll exists >> "%OMAppDataPath%\NGC\LOGS\SWUpdateAssistant.log"
regsvr32 /s /u OesisCom.dll
if errorlevel 3 echo Unregister oesisCom.dll failed >> "%OMAppDataPath%\NGC\LOGS\SWUpdateAssistant.log"
@REM Go back to directory that this batch file is located.
popd